package com.atguigu.bean;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

/**
 * @Description :
 * @Version : V1.0.0
 * @Date : 2022/9/2 14:14
 */
public class Color implements InitializingBean, DisposableBean {

    public void init() {
        System.out.println("color init");
    }

    public void destroy() {
        System.out.println("color destroy");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("afterPropertiesSet");
    }
}

